package com.cskaoyan.mall.model.orders;

import java.sql.Timestamp;

/**
 * @author: jyf2000jyf
 */
public class OrderByStateVO {
    private Integer id;
    private Double amount;
    private Timestamp createtime;
    private Integer goodsDetailId;
    private Integer goodsNum;
    private boolean hasComment;
    private Integer state;

    private OrdersByStateVOInnerGoods goods = new OrdersByStateVOInnerGoods();

    public OrderByStateVO() {
    }

    public OrderByStateVO(Integer id, Double amount, Timestamp createtime, Integer goodsDetailId, Integer goodsNum, boolean hasComment, Integer state) {
        this.id = id;
        this.amount = amount;
        this.createtime = createtime;
        this.goodsDetailId = goodsDetailId;
        this.goodsNum = goodsNum;
        this.hasComment = hasComment;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public Integer getGoodsDetailId() {
        return goodsDetailId;
    }

    public void setGoodsDetailId(Integer goodsDetailId) {
        this.goodsDetailId = goodsDetailId;
        this.goods.setGoodsDetailId(goodsDetailId);
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public boolean isHasComment() {
        return hasComment;
    }

    public void setHasComment(boolean hasComment) {
        this.hasComment = hasComment;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public OrdersByStateVOInnerGoods getGoods() {
        return goods;
    }

    public void setGoods(OrdersByStateVOInnerGoods goods) {
        this.goods = goods;
    }
}
